#include "form.h"
#include "ui_form.h"
#include"doudizhu.h"
#include"QMessageBox"
#include <QMediaPlayer>
Form::Form(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Form)
{
    ui->setupUi(this);
    this->setGeometry(QRect(600,300,350,400));
}
Form::~Form()
{
    delete ui;
}


void Form::on_pushButton_4_clicked()
{
    this->close();
}

void Form::on_pushButton_2_clicked()
{
    this->close();
    j=new renji;
    j->show();
}

void Form::on_pushButton_3_clicked()
{
    this->close();
    f=new shuangren;
    f->show();
    QMessageBox::information(NULL,">_<","请尽可能的让黑棋布满全局");
}
